<?php
/**
 * Created by PhpStorm.
 * User: allen
 * Date: 2019/3/8
 * Time: 12:51
 */

namespace app\index\validate;

use think\Validate;

class Member extends Validate{
    protected $rule =   [
        'username'  => 'require',
        'nickname'   => 'require',
        'open_id' => 'require',
    ];

    protected $message  =   [
        'username.require' => '用户名必填',
        'nickname.require'     => '用户昵称必填',
        'open_id.require'   => '用openId必填'
    ];
}
